import { request } from "@/utils/http";

export const requestToken=(userInfo)=>{
    return request.post("/api/user/passport/login", userInfo)
}
export const requestUserName=()=>{
    return request.get('/api/user/passport/auth/getUserInfo')
}
export const requestLogOut=()=>{
    return request.get("/api/user/passport/logout")
}